<form id="ff" style="padding: 20px;" method="post">

    <div style="margin-bottom:10px">
        <input id="code"  class="easyui-textbox" label="测试码:"  name="code" data-options="buttonText:'扫描',buttonIcon:'btn-scan',prompt:'扫描货码',labelPosition:'top'" style="width:100%">
    </div>
</form>